.class public Lcom/example/m6wmr/MyBalanceActivity;
.super Landroid/app/Activity;
.source "MyBalanceActivity.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/example/m6wmr/MyBalanceActivity$mOnclistener;
    }
.end annotation


# instance fields
.field private activityList:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Landroid/app/Activity;",
            ">;"
        }
    .end annotation
.end field

.field private add_stayle:Ljava/lang/String;

.field private btn_balance_particular:Landroid/widget/TextView;

.field private card_number:Ljava/lang/String;

.field private closebtn:Landroid/widget/ImageView;

.field private code:Ljava/lang/String;

.field private contentValues:Landroid/content/ContentValues;

.field private context:Landroid/content/Context;

.field private cursor:Landroid/database/Cursor;

.field private db:Landroid/database/sqlite/SQLiteDatabase;

.field private et_card_code:Landroid/widget/EditText;

.field private et_card_number:Landroid/widget/EditText;

.field private et_pay_money:Landroid/widget/EditText;

.field private flag:Ljava/lang/String;

.field private getJsonString:Ljava/lang/String;

.field gridView:Landroid/widget/GridView;

.field private h:Landroid/os/Handler;

.field private line1:Landroid/view/View;

.field private line2:Landroid/view/View;

.field list:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/ChargeBean;",
            ">;"
        }
    .end annotation
.end field

.field private ll_balance_add:Landroid/widget/LinearLayout;

.field private ll_card_add:Landroid/widget/LinearLayout;

.field private ll_money:Landroid/widget/LinearLayout;

.field private ll_mybalance_root:Landroid/widget/LinearLayout;

.field ll_now_adding:Landroid/widget/RelativeLayout;

.field private ll_num:Landroid/widget/LinearLayout;

.field private ll_pas:Landroid/widget/LinearLayout;

.field private ll_recharge:Landroid/widget/LinearLayout;

.field private ll_total:Landroid/widget/LinearLayout;

.field private make_car_adding:Landroid/widget/TextView;

.field private myApp:Lmyapp/MyApp;

.field private openHelper:Ldbclass/DBOpenHelper;

.field private pay_values:Ljava/lang/String;

.field private recharge:Landroid/widget/TextView;

.field private savedInstanceState:Landroid/os/Bundle;

.field private total:Landroid/widget/TextView;

.field private tv1:Landroid/widget/TextView;

.field private tv_balance:Landroid/widget/TextView;

.field private tv_stayle:Landroid/widget/TextView;

.field private waitLoginView:Landroid/view/View;


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 51
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    .line 93
    const-string v0, ""

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->flag:Ljava/lang/String;

    .line 51
    return-void
.end method

.method static synthetic access$0(Lcom/example/m6wmr/MyBalanceActivity;)Landroid/widget/LinearLayout;
    .locals 1

    .prologue
    .line 70
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->ll_total:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic access$1(Lcom/example/m6wmr/MyBalanceActivity;)Landroid/widget/LinearLayout;
    .locals 1

    .prologue
    .line 70
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->ll_money:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic access$10(Lcom/example/m6wmr/MyBalanceActivity;)Lmyapp/MyApp;
    .locals 1

    .prologue
    .line 55
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->myApp:Lmyapp/MyApp;

    return-object v0
.end method

.method static synthetic access$11(Lcom/example/m6wmr/MyBalanceActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 84
    iput-object p1, p0, Lcom/example/m6wmr/MyBalanceActivity;->add_stayle:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$12(Lcom/example/m6wmr/MyBalanceActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 84
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->add_stayle:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$13(Lcom/example/m6wmr/MyBalanceActivity;Ljava/lang/String;)Z
    .locals 1

    .prologue
    .line 569
    invoke-direct {p0, p1}, Lcom/example/m6wmr/MyBalanceActivity;->isNull(Ljava/lang/String;)Z

    move-result v0

    return v0
.end method

.method static synthetic access$14(Lcom/example/m6wmr/MyBalanceActivity;)Landroid/os/Handler;
    .locals 1

    .prologue
    .line 63
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->h:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic access$15(Lcom/example/m6wmr/MyBalanceActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 86
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->pay_values:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$16(Lcom/example/m6wmr/MyBalanceActivity;)Landroid/content/Context;
    .locals 1

    .prologue
    .line 57
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->context:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic access$17(Lcom/example/m6wmr/MyBalanceActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 87
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->card_number:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$18(Lcom/example/m6wmr/MyBalanceActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 88
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->code:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$19(Lcom/example/m6wmr/MyBalanceActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 90
    iput-object p1, p0, Lcom/example/m6wmr/MyBalanceActivity;->getJsonString:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$2(Lcom/example/m6wmr/MyBalanceActivity;)Landroid/widget/LinearLayout;
    .locals 1

    .prologue
    .line 76
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->ll_num:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic access$20(Lcom/example/m6wmr/MyBalanceActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 90
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->getJsonString:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$21(Lcom/example/m6wmr/MyBalanceActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 86
    iput-object p1, p0, Lcom/example/m6wmr/MyBalanceActivity;->pay_values:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$22(Lcom/example/m6wmr/MyBalanceActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 93
    iput-object p1, p0, Lcom/example/m6wmr/MyBalanceActivity;->flag:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$23(Lcom/example/m6wmr/MyBalanceActivity;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 83
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->total:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$3(Lcom/example/m6wmr/MyBalanceActivity;)Landroid/widget/LinearLayout;
    .locals 1

    .prologue
    .line 76
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->ll_pas:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic access$4(Lcom/example/m6wmr/MyBalanceActivity;)Landroid/widget/LinearLayout;
    .locals 1

    .prologue
    .line 79
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->ll_card_add:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic access$5(Lcom/example/m6wmr/MyBalanceActivity;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 69
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->make_car_adding:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$6(Lcom/example/m6wmr/MyBalanceActivity;)Landroid/view/View;
    .locals 1

    .prologue
    .line 67
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->line2:Landroid/view/View;

    return-object v0
.end method

.method static synthetic access$7(Lcom/example/m6wmr/MyBalanceActivity;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 69
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->tv1:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$8(Lcom/example/m6wmr/MyBalanceActivity;)Landroid/view/View;
    .locals 1

    .prologue
    .line 67
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->line1:Landroid/view/View;

    return-object v0
.end method

.method static synthetic access$9(Lcom/example/m6wmr/MyBalanceActivity;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 83
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->tv_stayle:Landroid/widget/TextView;

    return-object v0
.end method

.method private addData()V
    .locals 2

    .prologue
    .line 448
    new-instance v0, Lcom/example/m6wmr/MyBalanceActivity$5;

    new-instance v1, Lcom/example/m6wmr/MyBalanceActivity$4;

    invoke-direct {v1, p0}, Lcom/example/m6wmr/MyBalanceActivity$4;-><init>(Lcom/example/m6wmr/MyBalanceActivity;)V

    invoke-direct {v0, p0, v1}, Lcom/example/m6wmr/MyBalanceActivity$5;-><init>(Lcom/example/m6wmr/MyBalanceActivity;Ljava/lang/Runnable;)V

    .line 465
    invoke-virtual {v0}, Lcom/example/m6wmr/MyBalanceActivity$5;->start()V

    .line 467
    return-void
.end method

.method private gethttpData()V
    .locals 2

    .prologue
    .line 365
    new-instance v0, Ljava/lang/Thread;

    new-instance v1, Lcom/example/m6wmr/MyBalanceActivity$2;

    invoke-direct {v1, p0}, Lcom/example/m6wmr/MyBalanceActivity$2;-><init>(Lcom/example/m6wmr/MyBalanceActivity;)V

    invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    .line 396
    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    .line 398
    return-void
.end method

.method private getshopstyle()V
    .locals 1

    .prologue
    .line 626
    new-instance v0, Lcom/example/m6wmr/MyBalanceActivity$6;

    invoke-direct {v0, p0}, Lcom/example/m6wmr/MyBalanceActivity$6;-><init>(Lcom/example/m6wmr/MyBalanceActivity;)V

    .line 695
    invoke-virtual {v0}, Lcom/example/m6wmr/MyBalanceActivity$6;->start()V

    .line 696
    return-void
.end method

.method private initData()V
    .locals 2

    .prologue
    .line 140
    iput-object p0, p0, Lcom/example/m6wmr/MyBalanceActivity;->context:Landroid/content/Context;

    .line 141
    new-instance v0, Landroid/content/ContentValues;

    invoke-direct {v0}, Landroid/content/ContentValues;-><init>()V

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->contentValues:Landroid/content/ContentValues;

    .line 142
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->savedInstanceState:Landroid/os/Bundle;

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->savedInstanceState:Landroid/os/Bundle;

    .line 143
    new-instance v0, Ldbclass/DBOpenHelper;

    iget-object v1, p0, Lcom/example/m6wmr/MyBalanceActivity;->context:Landroid/content/Context;

    invoke-direct {v0, v1}, Ldbclass/DBOpenHelper;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->openHelper:Ldbclass/DBOpenHelper;

    .line 144
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->openHelper:Ldbclass/DBOpenHelper;

    invoke-virtual {v0}, Ldbclass/DBOpenHelper;->getReadableDatabase()Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v0

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->db:Landroid/database/sqlite/SQLiteDatabase;

    .line 145
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->openHelper:Ldbclass/DBOpenHelper;

    invoke-virtual {v0}, Ldbclass/DBOpenHelper;->getWritableDatabase()Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v0

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->db:Landroid/database/sqlite/SQLiteDatabase;

    .line 147
    invoke-virtual {p0}, Lcom/example/m6wmr/MyBalanceActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Lmyapp/MyApp;

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->myApp:Lmyapp/MyApp;

    .line 148
    invoke-virtual {p0}, Lcom/example/m6wmr/MyBalanceActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v1, "pay_values"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->pay_values:Ljava/lang/String;

    .line 150
    return-void
.end method

.method private initView()V
    .locals 2

    .prologue
    const/4 v1, 0x1

    .line 100
    const v0, 0x7f0c00e8

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyBalanceActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->ll_mybalance_root:Landroid/widget/LinearLayout;

    .line 101
    const v0, 0x7f0c00f3

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyBalanceActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/GridView;

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->gridView:Landroid/widget/GridView;

    .line 102
    const v0, 0x7f0c0001

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyBalanceActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->closebtn:Landroid/widget/ImageView;

    .line 103
    const v0, 0x7f0c00e9

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyBalanceActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->tv_balance:Landroid/widget/TextView;

    .line 104
    const v0, 0x7f0c00ec

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyBalanceActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->tv1:Landroid/widget/TextView;

    .line 105
    const v0, 0x7f0c00ed

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyBalanceActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->line1:Landroid/view/View;

    .line 106
    const v0, 0x7f0c00ef

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyBalanceActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->line2:Landroid/view/View;

    .line 107
    const v0, 0x7f0c00e7

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyBalanceActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->btn_balance_particular:Landroid/widget/TextView;

    .line 108
    const v0, 0x7f0c00ee

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyBalanceActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->make_car_adding:Landroid/widget/TextView;

    .line 110
    const v0, 0x7f0c00fb

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyBalanceActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->ll_now_adding:Landroid/widget/RelativeLayout;

    .line 111
    const v0, 0x7f0c00f9

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyBalanceActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->ll_total:Landroid/widget/LinearLayout;

    .line 112
    const v0, 0x7f0c00f0

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyBalanceActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->ll_money:Landroid/widget/LinearLayout;

    .line 114
    const v0, 0x7f0c00f5

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyBalanceActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->ll_num:Landroid/widget/LinearLayout;

    .line 115
    const v0, 0x7f0c00f7

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyBalanceActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->ll_pas:Landroid/widget/LinearLayout;

    .line 116
    const v0, 0x7f0c00ea

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyBalanceActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->ll_balance_add:Landroid/widget/LinearLayout;

    .line 117
    const v0, 0x7f0c00eb

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyBalanceActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->ll_recharge:Landroid/widget/LinearLayout;

    .line 118
    const v0, 0x7f0c00f4

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyBalanceActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->ll_card_add:Landroid/widget/LinearLayout;

    .line 119
    const v0, 0x7f0c00f2

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyBalanceActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->tv_stayle:Landroid/widget/TextView;

    .line 120
    const v0, 0x7f0c00fa

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyBalanceActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->total:Landroid/widget/TextView;

    .line 121
    const v0, 0x7f0c00f1

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyBalanceActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->et_pay_money:Landroid/widget/EditText;

    .line 122
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->et_pay_money:Landroid/widget/EditText;

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setFocusable(Z)V

    .line 123
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->et_pay_money:Landroid/widget/EditText;

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setFocusableInTouchMode(Z)V

    .line 124
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->et_pay_money:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->requestFocus()Z

    .line 126
    const v0, 0x7f0c00f6

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyBalanceActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->et_card_number:Landroid/widget/EditText;

    .line 127
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->et_card_number:Landroid/widget/EditText;

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setFocusable(Z)V

    .line 128
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->et_card_number:Landroid/widget/EditText;

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setFocusableInTouchMode(Z)V

    .line 129
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->et_card_number:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->requestFocus()Z

    .line 130
    const v0, 0x7f0c00f8

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyBalanceActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->et_card_code:Landroid/widget/EditText;

    .line 132
    return-void
.end method

.method private isNull(Ljava/lang/String;)Z
    .locals 5
    .param p1, "add_stayle"    # Ljava/lang/String;

    .prologue
    .line 571
    const/4 v0, 0x1

    .line 573
    .local v0, "isnull":Z
    iget-object v2, p0, Lcom/example/m6wmr/MyBalanceActivity;->flag:Ljava/lang/String;

    const-string v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_0

    .line 574
    iget-object v2, p0, Lcom/example/m6wmr/MyBalanceActivity;->et_pay_money:Landroid/widget/EditText;

    invoke-virtual {v2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-interface {v2}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v2

    .line 575
    const-string v3, "%"

    const-string v4, ""

    invoke-virtual {v2, v3, v4}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    const-string v3, " "

    const-string v4, ""

    invoke-virtual {v2, v3, v4}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v2

    .line 574
    iput-object v2, p0, Lcom/example/m6wmr/MyBalanceActivity;->pay_values:Ljava/lang/String;

    .line 578
    :cond_0
    iget-object v2, p0, Lcom/example/m6wmr/MyBalanceActivity;->et_card_number:Landroid/widget/EditText;

    invoke-virtual {v2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-interface {v2}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v2

    .line 579
    const-string v3, "%"

    const-string v4, ""

    invoke-virtual {v2, v3, v4}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    const-string v3, " "

    const-string v4, ""

    invoke-virtual {v2, v3, v4}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v2

    .line 578
    iput-object v2, p0, Lcom/example/m6wmr/MyBalanceActivity;->card_number:Ljava/lang/String;

    .line 580
    iget-object v2, p0, Lcom/example/m6wmr/MyBalanceActivity;->et_card_code:Landroid/widget/EditText;

    invoke-virtual {v2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-interface {v2}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v2

    const-string v3, "%"

    const-string v4, ""

    invoke-virtual {v2, v3, v4}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 581
    const-string v3, " "

    const-string v4, ""

    invoke-virtual {v2, v3, v4}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v2

    .line 580
    iput-object v2, p0, Lcom/example/m6wmr/MyBalanceActivity;->code:Ljava/lang/String;

    .line 582
    const-string v2, "1"

    invoke-virtual {p1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    .line 584
    iget-object v2, p0, Lcom/example/m6wmr/MyBalanceActivity;->pay_values:Ljava/lang/String;

    const-string v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    iget-object v2, p0, Lcom/example/m6wmr/MyBalanceActivity;->flag:Ljava/lang/String;

    const-string v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    .line 587
    iget-object v2, p0, Lcom/example/m6wmr/MyBalanceActivity;->context:Landroid/content/Context;

    const-string v3, "\u63d0\u793a\u4fe1\u606f"

    const-string v4, "\u4ed8\u6b3e\u989d\u4e0d\u80fd\u4e3a\u7a7a"

    invoke-static {v2, v3, v4}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 588
    const/4 v0, 0x0

    move v1, v0

    .line 606
    .end local v0    # "isnull":Z
    .local v1, "isnull":I
    :goto_0
    return v1

    .line 592
    .end local v1    # "isnull":I
    .restart local v0    # "isnull":Z
    :cond_1
    const-string v2, "0"

    invoke-virtual {p1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_3

    .line 593
    iget-object v2, p0, Lcom/example/m6wmr/MyBalanceActivity;->card_number:Ljava/lang/String;

    const-string v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_2

    .line 596
    iget-object v2, p0, Lcom/example/m6wmr/MyBalanceActivity;->context:Landroid/content/Context;

    const-string v3, "\u63d0\u793a\u4fe1\u606f"

    const-string v4, "\u5361\u53f7\u4e0d\u80fd\u4e3a\u7a7a"

    invoke-static {v2, v3, v4}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 597
    const/4 v0, 0x0

    move v1, v0

    .restart local v1    # "isnull":I
    goto :goto_0

    .line 599
    .end local v1    # "isnull":I
    :cond_2
    iget-object v2, p0, Lcom/example/m6wmr/MyBalanceActivity;->code:Ljava/lang/String;

    const-string v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_3

    .line 602
    iget-object v2, p0, Lcom/example/m6wmr/MyBalanceActivity;->context:Landroid/content/Context;

    const-string v3, "\u63d0\u793a\u4fe1\u606f"

    const-string v4, "\u5bc6\u7801\u4e0d\u80fd\u4e3a\u7a7a"

    invoke-static {v2, v3, v4}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 603
    const/4 v0, 0x0

    move v1, v0

    .restart local v1    # "isnull":I
    goto :goto_0

    .end local v1    # "isnull":I
    :cond_3
    move v1, v0

    .line 606
    .restart local v1    # "isnull":I
    goto :goto_0
.end method

.method private islogin()V
    .locals 0

    .prologue
    .line 402
    invoke-direct {p0}, Lcom/example/m6wmr/MyBalanceActivity;->gethttpData()V

    .line 404
    return-void
.end method

.method private onClistener()V
    .locals 3

    .prologue
    const/4 v2, 0x0

    .line 474
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->closebtn:Landroid/widget/ImageView;

    new-instance v1, Lcom/example/m6wmr/MyBalanceActivity$mOnclistener;

    invoke-direct {v1, p0, v2}, Lcom/example/m6wmr/MyBalanceActivity$mOnclistener;-><init>(Lcom/example/m6wmr/MyBalanceActivity;Lcom/example/m6wmr/MyBalanceActivity$mOnclistener;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 475
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->make_car_adding:Landroid/widget/TextView;

    new-instance v1, Lcom/example/m6wmr/MyBalanceActivity$mOnclistener;

    invoke-direct {v1, p0, v2}, Lcom/example/m6wmr/MyBalanceActivity$mOnclistener;-><init>(Lcom/example/m6wmr/MyBalanceActivity;Lcom/example/m6wmr/MyBalanceActivity$mOnclistener;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 477
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->ll_now_adding:Landroid/widget/RelativeLayout;

    new-instance v1, Lcom/example/m6wmr/MyBalanceActivity$mOnclistener;

    invoke-direct {v1, p0, v2}, Lcom/example/m6wmr/MyBalanceActivity$mOnclistener;-><init>(Lcom/example/m6wmr/MyBalanceActivity;Lcom/example/m6wmr/MyBalanceActivity$mOnclistener;)V

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 478
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->btn_balance_particular:Landroid/widget/TextView;

    new-instance v1, Lcom/example/m6wmr/MyBalanceActivity$mOnclistener;

    invoke-direct {v1, p0, v2}, Lcom/example/m6wmr/MyBalanceActivity$mOnclistener;-><init>(Lcom/example/m6wmr/MyBalanceActivity;Lcom/example/m6wmr/MyBalanceActivity$mOnclistener;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 479
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->ll_recharge:Landroid/widget/LinearLayout;

    new-instance v1, Lcom/example/m6wmr/MyBalanceActivity$mOnclistener;

    invoke-direct {v1, p0, v2}, Lcom/example/m6wmr/MyBalanceActivity$mOnclistener;-><init>(Lcom/example/m6wmr/MyBalanceActivity;Lcom/example/m6wmr/MyBalanceActivity$mOnclistener;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 480
    return-void
.end method

.method private setData()V
    .locals 4

    .prologue
    .line 433
    const-string v1, "userInfo"

    .line 434
    const/4 v2, 0x0

    .line 433
    invoke-virtual {p0, v1, v2}, Lcom/example/m6wmr/MyBalanceActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v0

    .line 436
    .local v0, "userInfo":Landroid/content/SharedPreferences;
    iget-object v1, p0, Lcom/example/m6wmr/MyBalanceActivity;->tv_balance:Landroid/widget/TextView;

    const-string v2, "cost"

    const-string v3, ""

    invoke-interface {v0, v2, v3}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 438
    iget-object v1, p0, Lcom/example/m6wmr/MyBalanceActivity;->et_pay_money:Landroid/widget/EditText;

    iget-object v2, p0, Lcom/example/m6wmr/MyBalanceActivity;->pay_values:Ljava/lang/String;

    invoke-virtual {v1, v2}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 440
    return-void
.end method


# virtual methods
.method public getViewByPosition(ILandroid/widget/GridView;)Landroid/view/View;
    .locals 5
    .param p1, "pos"    # I
    .param p2, "listView"    # Landroid/widget/GridView;

    .prologue
    .line 716
    invoke-virtual {p2}, Landroid/widget/GridView;->getFirstVisiblePosition()I

    move-result v1

    .line 718
    .local v1, "firstListItemPosition":I
    invoke-virtual {p2}, Landroid/widget/GridView;->getChildCount()I

    move-result v3

    .line 717
    add-int/2addr v3, v1

    add-int/lit8 v2, v3, -0x1

    .line 720
    .local v2, "lastListItemPosition":I
    if-lt p1, v1, :cond_0

    if-le p1, v2, :cond_1

    .line 721
    :cond_0
    invoke-virtual {p2}, Landroid/widget/GridView;->getAdapter()Landroid/widget/ListAdapter;

    move-result-object v3

    const/4 v4, 0x0

    invoke-interface {v3, p1, v4, p2}, Landroid/widget/ListAdapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v3

    .line 724
    :goto_0
    return-object v3

    .line 723
    :cond_1
    sub-int v0, p1, v1

    .line 724
    .local v0, "childIndex":I
    invoke-virtual {p2, v0}, Landroid/widget/GridView;->getChildAt(I)Landroid/view/View;

    move-result-object v3

    goto :goto_0
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 1
    .param p1, "requestCode"    # I
    .param p2, "resultCode"    # I
    .param p3, "data"    # Landroid/content/Intent;

    .prologue
    .line 700
    invoke-super {p0, p1, p2, p3}, Landroid/app/Activity;->onActivityResult(IILandroid/content/Intent;)V

    .line 702
    const/16 v0, 0x64

    if-ne p1, v0, :cond_0

    .line 703
    const/4 v0, 0x1

    if-ne p2, v0, :cond_0

    .line 705
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->ll_mybalance_root:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->removeAllViews()V

    .line 707
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->savedInstanceState:Landroid/os/Bundle;

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyBalanceActivity;->onCreate(Landroid/os/Bundle;)V

    .line 713
    :cond_0
    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 5
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    const v4, -0xd53e87

    const v3, 0x7f070026

    .line 155
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 157
    const v1, 0x7f030028

    invoke-virtual {p0, v1}, Lcom/example/m6wmr/MyBalanceActivity;->setContentView(I)V

    .line 158
    invoke-virtual {p0}, Lcom/example/m6wmr/MyBalanceActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    check-cast v1, Lmyapp/MyApp;

    iput-object v1, p0, Lcom/example/m6wmr/MyBalanceActivity;->myApp:Lmyapp/MyApp;

    .line 159
    iget-object v1, p0, Lcom/example/m6wmr/MyBalanceActivity;->myApp:Lmyapp/MyApp;

    invoke-virtual {v1}, Lmyapp/MyApp;->getActivity()Ljava/util/ArrayList;

    move-result-object v1

    iput-object v1, p0, Lcom/example/m6wmr/MyBalanceActivity;->activityList:Ljava/util/ArrayList;

    .line 160
    iget-object v1, p0, Lcom/example/m6wmr/MyBalanceActivity;->activityList:Ljava/util/ArrayList;

    invoke-virtual {v1, p0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 162
    invoke-direct {p0}, Lcom/example/m6wmr/MyBalanceActivity;->initData()V

    .line 164
    invoke-direct {p0}, Lcom/example/m6wmr/MyBalanceActivity;->initView()V

    .line 166
    invoke-direct {p0}, Lcom/example/m6wmr/MyBalanceActivity;->islogin()V

    .line 168
    invoke-direct {p0}, Lcom/example/m6wmr/MyBalanceActivity;->setData()V

    .line 170
    invoke-direct {p0}, Lcom/example/m6wmr/MyBalanceActivity;->addData()V

    .line 172
    const/high16 v1, 0x7f0c0000

    invoke-virtual {p0, v1}, Lcom/example/m6wmr/MyBalanceActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    .line 173
    .local v0, "top":Landroid/widget/RelativeLayout;
    iget-object v1, p0, Lcom/example/m6wmr/MyBalanceActivity;->myApp:Lmyapp/MyApp;

    invoke-virtual {v1}, Lmyapp/MyApp;->getAppcolor()Ljava/lang/String;

    move-result-object v1

    const-string v2, "1"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 174
    invoke-virtual {v0, v3}, Landroid/widget/RelativeLayout;->setBackgroundResource(I)V

    .line 175
    iget-object v1, p0, Lcom/example/m6wmr/MyBalanceActivity;->ll_now_adding:Landroid/widget/RelativeLayout;

    const v2, 0x7f020020

    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->setBackgroundResource(I)V

    .line 177
    iget-object v1, p0, Lcom/example/m6wmr/MyBalanceActivity;->tv1:Landroid/widget/TextView;

    invoke-virtual {v1, v4}, Landroid/widget/TextView;->setTextColor(I)V

    .line 178
    iget-object v1, p0, Lcom/example/m6wmr/MyBalanceActivity;->line1:Landroid/view/View;

    invoke-virtual {v1, v3}, Landroid/view/View;->setBackgroundResource(I)V

    .line 179
    iget-object v1, p0, Lcom/example/m6wmr/MyBalanceActivity;->line2:Landroid/view/View;

    invoke-virtual {v1, v3}, Landroid/view/View;->setBackgroundResource(I)V

    .line 180
    iget-object v1, p0, Lcom/example/m6wmr/MyBalanceActivity;->total:Landroid/widget/TextView;

    invoke-virtual {v1, v4}, Landroid/widget/TextView;->setTextColor(I)V

    .line 183
    :cond_0
    invoke-direct {p0}, Lcom/example/m6wmr/MyBalanceActivity;->onClistener()V

    .line 184
    invoke-direct {p0}, Lcom/example/m6wmr/MyBalanceActivity;->getshopstyle()V

    .line 185
    new-instance v1, Lcom/example/m6wmr/MyBalanceActivity$1;

    invoke-direct {v1, p0}, Lcom/example/m6wmr/MyBalanceActivity$1;-><init>(Lcom/example/m6wmr/MyBalanceActivity;)V

    iput-object v1, p0, Lcom/example/m6wmr/MyBalanceActivity;->h:Landroid/os/Handler;

    .line 360
    return-void
.end method

.method protected onDestroy()V
    .locals 1

    .prologue
    .line 621
    invoke-super {p0}, Landroid/app/Activity;->onDestroy()V

    .line 622
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->db:Landroid/database/sqlite/SQLiteDatabase;

    invoke-virtual {v0}, Landroid/database/sqlite/SQLiteDatabase;->close()V

    .line 623
    return-void
.end method

.method protected onStart()V
    .locals 2

    .prologue
    .line 612
    invoke-super {p0}, Landroid/app/Activity;->onStart()V

    .line 614
    iget-object v0, p0, Lcom/example/m6wmr/MyBalanceActivity;->h:Landroid/os/Handler;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    .line 616
    return-void
.end method

.method public waitlogin()V
    .locals 4

    .prologue
    .line 407
    iget-object v1, p0, Lcom/example/m6wmr/MyBalanceActivity;->ll_mybalance_root:Landroid/widget/LinearLayout;

    invoke-virtual {v1}, Landroid/widget/LinearLayout;->removeAllViews()V

    .line 408
    iget-object v1, p0, Lcom/example/m6wmr/MyBalanceActivity;->waitLoginView:Landroid/view/View;

    if-nez v1, :cond_0

    .line 410
    iget-object v1, p0, Lcom/example/m6wmr/MyBalanceActivity;->context:Landroid/content/Context;

    const v2, 0x7f03009e

    const/4 v3, 0x0

    invoke-static {v1, v2, v3}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    .line 409
    iput-object v1, p0, Lcom/example/m6wmr/MyBalanceActivity;->waitLoginView:Landroid/view/View;

    .line 411
    iget-object v1, p0, Lcom/example/m6wmr/MyBalanceActivity;->waitLoginView:Landroid/view/View;

    .line 412
    const v2, 0x7f0c0301

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    .line 411
    check-cast v0, Landroid/widget/TextView;

    .line 413
    .local v0, "waitlogin":Landroid/widget/TextView;
    new-instance v1, Lcom/example/m6wmr/MyBalanceActivity$3;

    invoke-direct {v1, p0}, Lcom/example/m6wmr/MyBalanceActivity$3;-><init>(Lcom/example/m6wmr/MyBalanceActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 427
    .end local v0    # "waitlogin":Landroid/widget/TextView;
    :cond_0
    iget-object v1, p0, Lcom/example/m6wmr/MyBalanceActivity;->ll_mybalance_root:Landroid/widget/LinearLayout;

    iget-object v2, p0, Lcom/example/m6wmr/MyBalanceActivity;->waitLoginView:Landroid/view/View;

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    .line 429
    return-void
.end method
